from django.conf.urls import url
from .views import LoginView, ChangePassword, StudentQueryCourseView, TeacherLoginView, TeacherChangePassword, \
    DetailsCourseView, UserDetailsView

urlpatterns = [
    # 学生登录
    url("^student_login$", LoginView.as_view()),
    # 学生修改密码
    url("^student_change$", ChangePassword.as_view()),
    url("^teacher_login$", TeacherLoginView.as_view()),
    url("^teacher_change$", TeacherChangePassword.as_view()),
    url("^query_course$", StudentQueryCourseView.as_view()),
    url("^details_course$", DetailsCourseView.as_view()),
    url("^user_details$", UserDetailsView.as_view()),
]
